package com.sutong.platform.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sutong.platform.model.dto.userinterfaceinfo.UserInterfaceInfoQueryRequest;
import com.sutong.platform.model.entity.UserInterfaceInfo;
import com.sutong.platform.model.vo.InterfaceCallAnalysisVo;

import java.util.List;

/**
 * @author sutong
 * @description 用户调用接口关系Service
 */
public interface UserInterfaceInfoService extends IService<UserInterfaceInfo> {

    Wrapper<UserInterfaceInfo> getQueryWrapper(UserInterfaceInfoQueryRequest userInterfaceInfoQueryRequest);

    Boolean callInterfaceCountByUserId(Long userId, Long interfaceInfoId);

    List<InterfaceCallAnalysisVo> callAnalysis();

    Long selectTotalNumSum();
}
